package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_13_5S extends SkymobiProtocolMessage {
	String msg;
	int bigMoney;

	public Mmochat_13_5S() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_S_13_5);
	}

	@Override
	protected void encodeBody(SkymobiBuffer out) {
		out.putPrefixedString(msg, 2);
		out.putInt(bigMoney);
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public void setBigMoney(int bigMoney) {
		this.bigMoney = bigMoney;
	}

}